/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package maxent.mr.mapred;

import java.io.IOException;
import maxent.mr.writable.ArrayStringWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

/**
 *
 * @author hadoop
 */
public class TagTokenReducer
        extends Reducer<Text, Text, Text, ArrayStringWritable>{

    @Override
    public void reduce(Text key, Iterable<Text> values, Context context) throws IOException, InterruptedException{
        
        context.write(key, new ArrayStringWritable(values));

    }

}
